<template>
	<view class="<%= className %>">
		<button size="mini" @click="goto('/pages/about/about')">按钮</button>
	</view>
</template>
<script>
    export default {
        // props: {
		// 	declType: {
		// 		type: String,
		// 		default: '2'
		// 	}
        // },
        data() {
			return {
				list: "点我", 
			}
		},
        methods: {
            goto(url) {
                console.log("按钮被点击了，且传入的参数是：" + url)
                // this.$emit('detailTap');
            }
        }
    }
</script>
<style lang="scss">
.<%= className %> {
    
}
</style>
